package com.fgw.service;

import com.fgw.common.ServerResponse;
import com.fgw.pojo.Teacher;
import com.fgw.pojo.Worktrend;
import com.fgw.vo.WorktrendListVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * Created by lyj on 2017/9/8.
 */
public interface IWorktrendService {

    //前台工作动态列表
    ServerResponse<WorktrendListVo> getWorktrendList();

    //后台分页显示工作动态列表
    ServerResponse<PageInfo> getNeedWorktrendList(int pageNum, int pageSize);

    //后台搜索分页显示工作动态
    ServerResponse<PageInfo>  searchWorktred(String title, String soureCrmpy, Integer wtId, int pageNum, int pageSize);

    //后台工作状态是否置顶
    ServerResponse selectOrState(Integer wtId);
}
